package com.med.meddataintegrator.common.mapper;


import com.med.meddataintegrator.common.pojo.dos.DoctorDo;
import com.med.meddataintegrator.common.pojo.dto.doctor.DoctorQueryParams;
import com.med.meddataintegrator.common.pojo.vo.doctor.DoctorVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DoctorMapper {


    List<DoctorVo> select(DoctorQueryParams doctorQueryParams);

    DoctorVo selectByIdDoctor(Long id);

    void updateDoctor(DoctorDo doctorDo);

    void delDoctor(Long id);

    Integer selectByDoctorName(String doctorName);

    int insert(DoctorDo doctorDo);
}
